/**
 * Created by Administrator on 2017/10/13 0013.
 */
var Main={
    init:function () {
        this.blind();
    },
    blind:function () {
        /*
         * swiper轮播参数设置
         */
        var mySwiper = new Swiper('.swiper-container3', {
            autoplay: 5000,
            nextButton: ' .swiper-button-next',
            prevButton: '.swiper-button-prev',
            slidesPerView: 4,
            loop:true
        });
        $('.swiper-button-next').click(function () {
            mySwiper.swipeNext();
        });
        $('.swiper-button-prev').click(function () {
            mySwiper.swipePrev();
        });


        var mySwiper2 = new Swiper('.swiper-container2', {
            autoplay: 5000,
            nextButton: ' .swiper-button-next2',
            prevButton: '.swiper-button-prev2',
            pagination : '.pagination2',
            paginationClickable :true,
            loop:true
        });
        $('.swiper-button-next2').click(function () {
            mySwiper2.swipeNext();
        });
        $('.swiper-button-prev2').click(function () {
            mySwiper2.swipePrev();
        });


        var mySwiper4 = new Swiper('.swiper-container4', {
            autoplay: 5000,
            pagination : '.pagination4',
            paginationClickable :true,
            loop:true
        });

    }
};
Main.init();